package com.dailyblue.java.cloud.customer.feign.feign.fallback;

import com.dailyblue.java.cloud.commons.util.JsonResult;
import com.dailyblue.java.cloud.commons.util.ResultTool;
import com.dailyblue.java.cloud.customer.feign.feign.ProviderFeign;
import org.springframework.stereotype.Component;

@Component
public class ProviderFeignFallback implements ProviderFeign {
    @Override
    public JsonResult a() {
        return ResultTool.fail(500, "我是兜底方案");
    }

    @Override
    public JsonResult b() {
        return ResultTool.fail(500, "我是兜底方案");
    }

    @Override
    public JsonResult c() {
        return ResultTool.fail(500, "我是兜底方案");
    }

    @Override
    public JsonResult d() {
        return ResultTool.fail(500, "我是兜底方案");
    }
}
